import { _decorator, Node, Button } from 'cc';
import { BaseView } from '../Frame/BaseView';
const { ccclass, property } = _decorator;

@ccclass('ViewActionQueue')
export class ViewActionQueue extends BaseView {
    @property(Button)
    public buttonClose: Button;

    load() {
        this.buttonClose.node.on(Node.EventType.TOUCH_END, () => { this.exit() }, this);
    }
}